<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-userGoodsRemark-edit" th:object="${userGoodsRemark}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单编号：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{orderId}"></label>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">商品编号：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{goodsId}"></label>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户编号：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{userId}"></label>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">星级：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{star}"></label>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">评价内容：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{msg}"></label>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">评价时间：</label>
                <div class="col-sm-8">
					<label class="control-label" th:text="*{createTime}"></label>
				</div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script th:inline="javascript">
		var prefix = ctx + "user/userGoodsRemark"
		$("#form-userGoodsRemark-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-userGoodsRemark-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
